import axios from "@/http/axios";

// 根据用户名查找
export const findByName = (params) => {
  return axios({
    url: '/user/findByName',
    method: 'get',
    params
  })
}

// 更新用户密码
export const updatePwd = (params) => {
  return axios({
    url: '/user/updatePassword',
    method: 'get',
    params
  })
}

// 查找用户的菜单权限标识集合
export const findPermissions = (params) => {
  return axios({
    url: '/user/findPermissions',
    method: 'get',
    params
  })
}
